<?php
//authenticated
if (!Session::get('authenticated')) :


    ?>
<?php endif; //<<--- SESSION NULL

if (isset($this->settings->ad) && $this->settings->ad != ''): ?>
    <!--				   <div class="grid_1">-->
    <!--				   		<!-- container_grid -->
    <!--				   		<div class="container_grid grid_ad">-->
    <!--				   			<span class="grid_title_small">--><?php //echo $_SESSION['LANG']['advertising']; ?><!--</span>-->
    <!--				   			--><?php //echo stripslashes( $this->settings->ad ); ?>
    <!--				   		</div><!-- container_grid -->
    <!--				   </div><!-- Grid 1 -->
<?php endif; ?>

<div class="grid_1 noborder">
   <?php if (Session::get('authenticated')): ?>
    <!-- category -->
    <?php include 'classified.php' ?>
       <?php include 'views/inc/who_to_follow.php'; ?>
    <?php endif; ?>

</div><!-- Grid 1 -->

<?php

$addRights = $this->addleft;
foreach($addRights as $addRight){
    $imgLink = URL_BASE.'upload/'.$addRight['images'];
    echo '<div style="float:left;margin-bottom: 10px ; width:100%" class="">
            <a href="'.$addRight['href'].'"><img style="float:left; width:100%" src="'.$imgLink.'"></a>

        </div>';
}
?>